package com.example.aop;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author syg
 * @description
 * @date 2021/12/27 14:43
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface CounterLimitAnno {
    public String limitKey() default "limit:counter";
    public int limit() default 1;
    public int timewin() default 60;

}
